

public abstract class Aliment 
{
    int putereCalorica;
    int cantitateGlucide;
    int cantitateLipide;
    int cantitateProteine;
    
    public int getPutereCalorica() 
    {
        return putereCalorica;
    }
    public void setPutereCalorica(int putereCalorica) 
    {
        this.putereCalorica = putereCalorica;
    }
    public int getCantitateGlucide() 
    {
        return cantitateGlucide;
    }
    public void setCantitateGlucide(int cantitateGlucide) 
    {
        this.cantitateGlucide = cantitateGlucide;
    }
    public int getCantitateLipide() 
    {
        return cantitateLipide;
    }
    public void setCantitateLipide(int cantitateLipide) 
    {
        this.cantitateLipide = cantitateLipide;
    }
    public int getCantitateProteine() 
    {
        return cantitateProteine;
    }
    public void setCantitateProteine(int cantitateProteine) 
    {
        this.cantitateProteine = cantitateProteine;
    }
    public Aliment(int putereCalorica, int cantitateGlucide,int cantitateLipide, int cantitateProteine) 
    {
        this.putereCalorica = putereCalorica;
        this.cantitateGlucide = cantitateGlucide;
        this.cantitateLipide = cantitateLipide;
        this.cantitateProteine = cantitateProteine;
    }
}
